package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医院基本信息对象 hospitals
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public class Hospitals extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医院id */
    private Long hospitalId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String name;

    /** 医院地址 */
    @Excel(name = "医院地址")
    private String address;

    /** 医院电话 */
    @Excel(name = "医院电话")
    private String phone;

    /** 医院创办时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "医院创办时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date establishedDate;

    /** 医院等级，如三甲、二甲等 */
    @Excel(name = "医院等级，如三甲、二甲等")
    private String level;

    private Double hosptialvalue;

    /** 医疗器材信息信息 */
    private List<MedicalEquipment> medicalEquipmentList;

    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEstablishedDate(Date establishedDate) 
    {
        this.establishedDate = establishedDate;
    }

    public Date getEstablishedDate() 
    {
        return establishedDate;
    }

    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    public List<MedicalEquipment> getMedicalEquipmentList()
    {
        return medicalEquipmentList;
    }

    public void setMedicalEquipmentList(List<MedicalEquipment> medicalEquipmentList)
    {
        this.medicalEquipmentList = medicalEquipmentList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hospitalId", getHospitalId())
            .append("name", getName())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("establishedDate", getEstablishedDate())
            .append("level", getLevel())
            .append("remark", getRemark())
            .append("hosptialvalue",getHosptialvalue())
            .append("medicalEquipmentList", getMedicalEquipmentList())
            .toString();
    }

    public Double getHosptialvalue() {
        return hosptialvalue;
    }

    public void setHosptialvalue(Double Hosptialvalue) {
        this.hosptialvalue = Hosptialvalue;
    }
}
